package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.PshotnewDao;
import com.bootdo.screen.domain.PshotnewDO;
import com.bootdo.screen.service.PshotnewService;



@Service
public class PshotnewServiceImpl implements PshotnewService {
	@Autowired
	private PshotnewDao pshotnewDao;
	
	@Override
	public PshotnewDO get(Integer id){
		return pshotnewDao.get(id);
	}
	
	@Override
	public List<PshotnewDO> list(Map<String, Object> map){
		return pshotnewDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return pshotnewDao.count(map);
	}
	
	@Override
	public int save(PshotnewDO pshotnew){
		return pshotnewDao.save(pshotnew);
	}
	
	@Override
	public int update(PshotnewDO pshotnew){
		return pshotnewDao.update(pshotnew);
	}
	
	@Override
	public int remove(Integer id){
		return pshotnewDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return pshotnewDao.batchRemove(ids);
	}
	
}
